<template>
  <ComponentPage
    title="加载组件库"
    :componentGlob="loadingsComponents"
    :pageSize="8"
  />
</template>

<script setup>
import ComponentPage from './ComponentPage.vue'

// ✅ 动态导入目标目录下所有 .vue 文件
const loadingsComponents = import.meta.glob('../components/loadings/*.vue')

</script>